import request from '@/utils/request';

//获取温度数据
export const getTemperatureDataApi = (time) => request.get(`/history/temperature?time=${time}`);

//获取湿度数据
export const getHumidityDataApi = (time) => request.get(`/history/humidity?time=${time}`);